package com.google.code.kjug.guava.app.domain;

import com.google.common.base.Objects;

public class Car implements Comparable<Car> {

    private Make make;
    private int year;
    private String model;

    public Car(int year, Make carMake, String model) {
    }

    public Make getMake() {
        return make;
    }

    public String getModel() {
        return model;
    }

    public int getYear() {
        return year;
    }

    @Override
    public String toString() {
        return "";
    }

    @Override
    public int compareTo(Car o) {
        return 1;
    }

    @Override
    public int hashCode() {
//        return Objects.hashCode(make, year, model); //this is really really really important for performance!
        return 0;
    }

    @Override
    public boolean equals (Object o){
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;

            Car car = (Car) o;
            return false;
        }
    }
